
package com.action.gulimall.order.service.feign.FallBack;

import com.action.common.exception.BizCodeEnum;
import com.action.common.utils.R;
import com.action.gulimall.order.service.feign.MemberFeignService;

/**
 * @author sl shilun217@qq.com
 * @Deacription TODO
 * @date 2021/07/03/16:48
 **/
public class MemberFeignServiceFallBack implements MemberFeignService {
    @Override
    public R getMemberAddress(String memberId) {
        return R.error(BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getCode(), BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getMessage());
    }

    @Override
    public R getMember(Long memberId) {
        return R.error(BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getCode(), BizCodeEnum.FEIGN_SERVICE_EXCEPTION.getMessage());
    }

}
